import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useCounterStore = defineStore('my', () => {
 
  let mydta=ref( {
    username:localStorage.getItem('username'),
    userphon:'1568888999',
    image:'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg'
  })
 
  return { mydta }
},
 {
    persist: true,
  },
)
